package com.wchat.enums;

import lombok.Data;

/**
 * Created by yangtianrui on 17/8/11.
 */

public enum OrderStatusEnum {

    NEW(0,"新订单"),
    FINISHIED(1,"已完成订单"),
    CANCLE(2,"已取消订单"),
    ;

    private int code;
    private String value;

    OrderStatusEnum(int code,String value)
    {
        this.code = code;
        this.value = value;
    }

    public int getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }
}
